package com.sdms.core;

import java.util.Random;

public class DeliveryDetails {
	
	private String customerName;
	private Object collectFrom ;
	private String destination;
	private String itemIDesc;
	private String itemId;
	private static Random rand = new Random();

	public DeliveryDetails(String customerName, String collectFrom, String destination, String itemDesc) {
		this.customerName = customerName;
		this.collectFrom = collectFrom;
		this.destination = destination;
		this.itemIDesc = itemDesc;
		
		this.itemId = String.valueOf( rand.nextInt(90000) + 10000 );
	}

	public String getCustomerName() {
		return customerName;
	}

	public Object getCollectFrom() {
		return collectFrom;
	}

	public String getDestination() {
		return destination;
	}

	public String getItemIDesc() {
		return itemIDesc;
	}

	public String getItemId() {
		return itemId;
	}
}
